home *** CD-ROM | disk | FTP | other *** search
- Path: news.america.com!not-for-mail
- From: ngreen@enterprise.america.com (Nils Green)
- Newsgroups: comp.lang.c
- Subject: Packing numbers ?????
- Date: 8 Feb 1996 08:38:51 -0500
- Organization: PSS InterNet Services, InterNet in Fl 904 253 7100
- Message-ID: <4fcudb$gnm@enterprise.america.com>
- NNTP-Posting-Host: enterprise.america.com
- Keywords: numbers
- X-Newsreader: NN version 6.5.0 #5
-
- Need advice please.
-
- I need to be able to pack a 6 digit number in a 4 digit number. The
- numbers are julian dates, and we need the ability of storing them as
- 4 digit numbers. Are there any algorithms, preferably not too complex,
- that can accomplish this?
-
- Please reply via e-mail, since I infrequently browse throught this group.
-
-
- Thanks
- Nils Green
-
-
-
- --
- **********************************
- * If God is omnipotent, can he *
- * make a rock so heavy that *
- * he cannot lift it ?? *
- **********************************
-